package cn.itsource.basic.page;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*封装分页对象*/
@Data
@AllArgsConstructor/*全参构造器*/
@NoArgsConstructor/*无参构造*/
public class PageList<T> {
    private Integer totals;
    private List<T> data;
}
